package com.ruoyi.system.service;

import com.ruoyi.system.entity.*;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public interface IPveService {

    SunPanelCPU getCpuState() throws  Exception;
    SunPanelMemony getMemonyState() throws  Exception;
    ArrayList<SunPanelDiskList> getDiskMountpoints() throws  Exception;
    SunPanelDisk getDiskStateByPath(String path) throws  Exception;


    SunPanelDockerList getLxcAndQemuList()throws  Exception;

    HashMap<String,SunPanelDockerStatus> getLxcStats(List<String> ids) throws  Exception;
    HashMap<String,SunPanelDockerStatus> getQemuStats(List<String> ids) throws  Exception;

    void execLxcSwitchActionByContainerID(boolean action, String id) throws  Exception;

    void execVmSwitchActionByContainerID(boolean action, String id) throws  Exception;

}
